package com.shycloud.mido.organ.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.organ.api.entity.WorksComment;

import org.apache.ibatis.annotations.Param;

public interface WorksCommentMapper extends BaseMapper<WorksComment>{
    
    IPage<WorksComment> getComment(@Param("page") Page page, @Param("worksId") String worksId);

    IPage<WorksComment> getCommentDetail(@Param("page") Page page, @Param("worksId") String worksId, @Param("fatherId") String fatherId);

}
